3.369 \(\int \frac{A+B x}{(a+c x^2)^{3/2}} \, dx\)

Optimal. Leaf size=28 \[ -\frac{a B-A c x}{a c \sqrt{a+c x^2}} \]

[Out]

-((a*B - A*c*x)/(a*c*Sqrt[a + c*x^2]))

________________________________________________________________________________________

Rubi [A]  time = 0.0066274, antiderivative size = 28, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.059, Rules used = {637} \[ -\frac{a B-A c x}{a c \sqrt{a+c x^2}} \]

Antiderivative was successfully verified.

[In]

Int[(A + B*x)/(a + c*x^2)^(3/2),x]

[Out]

-((a*B - A*c*x)/(a*c*Sqrt[a + c*x^2]))

Rule 637

Int[((d_) + (e_.)*(x_))/((a_) + (c_.)*(x_)^2)^(3/2), x_Symbol] :> Simp[(-(a*e) + c*d*x)/(a*c*Sqrt[a + c*x^2]),
 x] /; FreeQ[{a, c, d, e}, x]

Rubi steps

\begin{align*} \int \frac{A+B x}{\left (a+c x^2\right )^{3/2}} \, dx &=-\frac{a B-A c x}{a c \sqrt{a+c x^2}}\\ \end{align*}

Mathematica [A]  time = 0.0140322, size = 27, normalized size = 0.96 \[ \frac{A c x-a B}{a c \sqrt{a+c x^2}} \]

Antiderivative was successfully verified.

[In]

Integrate[(A + B*x)/(a + c*x^2)^(3/2),x]

[Out]

(-(a*B) + A*c*x)/(a*c*Sqrt[a + c*x^2])

________________________________________________________________________________________

Maple [A]  time = 0.003, size = 26, normalized size = 0.9 \begin{align*}{\frac{Acx-aB}{ac}{\frac{1}{\sqrt{c{x}^{2}+a}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*x+A)/(c*x^2+a)^(3/2),x)

[Out]

(A*c*x-B*a)/a/c/(c*x^2+a)^(1/2)

________________________________________________________________________________________

Maxima [A]  time = 0.953423, size = 42, normalized size = 1.5 \begin{align*} \frac{A x}{\sqrt{c x^{2} + a} a} - \frac{B}{\sqrt{c x^{2} + a} c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)/(c*x^2+a)^(3/2),x, algorithm="maxima")

[Out]

A*x/(sqrt(c*x^2 + a)*a) - B/(sqrt(c*x^2 + a)*c)

________________________________________________________________________________________

Fricas [A]  time = 1.36997, size = 69, normalized size = 2.46 \begin{align*} \frac{{\left (A c x - B a\right )} \sqrt{c x^{2} + a}}{a c^{2} x^{2} + a^{2} c} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)/(c*x^2+a)^(3/2),x, algorithm="fricas")

[Out]

(A*c*x - B*a)*sqrt(c*x^2 + a)/(a*c^2*x^2 + a^2*c)

________________________________________________________________________________________

Sympy [A]  time = 4.25638, size = 46, normalized size = 1.64 \begin{align*} \frac{A x}{a^{\frac{3}{2}} \sqrt{1 + \frac{c x^{2}}{a}}} + B \left (\begin{cases} - \frac{1}{c \sqrt{a + c x^{2}}} & \text{for}\: c \neq 0 \\\frac{x^{2}}{2 a^{\frac{3}{2}}} & \text{otherwise} \end{cases}\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)/(c*x**2+a)**(3/2),x)

[Out]

A*x/(a**(3/2)*sqrt(1 + c*x**2/a)) + B*Piecewise((-1/(c*sqrt(a + c*x**2)), Ne(c, 0)), (x**2/(2*a**(3/2)), True)
)

________________________________________________________________________________________

Giac [A]  time = 1.25763, size = 31, normalized size = 1.11 \begin{align*} \frac{\frac{A x}{a} - \frac{B}{c}}{\sqrt{c x^{2} + a}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)/(c*x^2+a)^(3/2),x, algorithm="giac")

[Out]

(A*x/a - B/c)/sqrt(c*x^2 + a)